<?php /* Smarty version 2.6.18, created on 2018-03-05 11:41:25
         compiled from zshui.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<style>
td,th{height:30px;line-height:30px;}
tr:hover{background:#DEEFD8}
input{width:52px;}
</style>
</head>
<body>
<script id=myjs language="javascript">var js=1;var sss='zshui';</script>
<div class="xbody1" style="width:98%">
<table class="tinfo wd100">
<Tr><th colspan="2">
默认退水设置
</th>
<th colspan="2">
<select class="game">
     
     
     
 <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
  
     
     
     <option value="<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
" <?php if ($this->_tpl_vars['game'][$this->_sections['i']['index']]['gid'] == $this->_tpl_vars['gid']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</option>
     
     
     
  <?php endfor; endif; ?>
 
    
    
    </select>
</th>
<TD colspan="10"><input type="button" class="btn1 btnf send" value="修改" />



<input type="button" style="width:200px;" gid='<?php echo $this->_tpl_vars['gid']; ?>
' class="btn1 btnf yiwotongbu" value="以我同步<?php echo $this->_tpl_vars['flname']; ?>
" />

</td>
</Tr>
<Tr style="display:none;"><TD colspan="14"><label>请注意:如果改小"赔率差最大值"[M],所有会员的赔率差如果大于[M],将为M. 如果改大"赔率差最大值"[M],所有会员的赔率差不变.
                    </label></TD></Tr>
  <TR>
    <th rowspan="2"><input type="checkbox"  class="all" /></th> <th rowspan="2">大类</th><th rowspan="2"   style="display:none;">类别</th><th rowspan="2"   style="display:none;">赔率差最大</th><th rowspan="2"  style="display:none;">保底赔率</th><th rowspan="2">单项最大</th><th rowspan="2">每注最大</th><th rowspan="2">每注最低</th><th colspan="2">A盘退水%</th><th colspan="2">B盘退水%</th><th colspan="2">C盘退水%</th><th colspan="2">D盘退水%</th>
     
  </TR>
  <tr>
     <th>A</th><th>B</th><th>A</th><th>B</th><th>A</th><th>B</th><th>A</th><th>B</th>
  </tr>
  <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['zpan']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
     <TR>
     <td><input type="checkbox"   /><input type="button" class="btn1 btnf pantb" value="同选中" /></td>
        <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['name']; ?>
</td>
        <td  style="display:none;">-</td>
        <td  style="display:none;">-</td>
        <td  style="display:none;">-</td>
        <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['cmaxje']; ?>
</td><td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['maxje']; ?>
</td>
        <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['minje']; ?>
</td>
        <?php if ($this->_tpl_vars['zpan'][$this->_sections['i']['index']]['abcd'] == 1): ?>
             <?php if ($this->_tpl_vars['zpan'][$this->_sections['i']['index']]['ab'] == 1): ?>
                <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsaa']; ?>
</td>
                <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsab']; ?>
</td>
                <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsba']; ?>
</td>
                <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsbb']; ?>
</td>
                <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsca']; ?>
</td>
                <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointscb']; ?>
</td>
                <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsda']; ?>
</td>
                <td><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsdb']; ?>
</td>
             <?php else: ?>
                <td colspan="2"><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsa0']; ?>
</td>
                <td colspan="2"><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsb0']; ?>
</td>
                <td colspan="2"><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsc0']; ?>
</td>
                <td colspan="2"><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsd0']; ?>
</td>
             <?php endif; ?>
        <?php else: ?>
                <td colspan="8"><?php echo $this->_tpl_vars['zpan'][$this->_sections['i']['index']]['pointsa0']; ?>
</td>
        <?php endif; ?>
     </TR>
  <?php endfor; endif; ?>
</table>
</div>
<div id='test'></div>
</body>
</html>